home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-08-02 | 668 b | 38 lines |
- #!smake
-
- include $(ROOT)/usr/include/make/commondefs
-
- TARGETS = testicon
- OBJECTS = testicon.o Initialize.o
-
- #----
- # Figure out what version of the OS we're running.
- #
-
- OSVERS != uname -r | awk -F- '{print $$1}' | awk -F. '{for ( i=1; i<5; i++ ) { b=0; b+=$$i; printf "%d",b} print ""}'
-
- #----
- # Depending on the version of OS, use either shared libraries or
- # the standard ones.
- #
-
- #if $(OSVERS) > 5000
- LLDLIBS = -lXm -lXt -lX11
- #else
- LLDLIBS = -lXm_s -lXt_s -lX11 -lPW
- #endif
-
- #ifdef DEBUG
- LCOPTS = -g
- #endif
-
-
- defaults all: $(TARGETS)
-
- include $(COMMONRULES)
-
- testicon: $(OBJECTS)
- $(CCF) -o $(TARGETS) $(OBJECTS) $(LDFLAGS)
-
- Initialize.o: Initialize.c Initialize.h
-